Skip to content

Add a pyrefly module - #9

Draft
eunomie wants to merge 4 commits into
mainfrom
pyrefly-module
Draft

eunomie wants to merge 4 commits into
mainfrom
pyrefly-module

Conversation

@eunomie

@eunomie eunomie commented Oct 22, 2026

Copy link
Copy Markdown
Member

Adds a pyrefly/ module that type checks every Python project with Pyrefly 1.4.0, modeled on ty/. dagger check --check type-check now runs mypy, ty and pyrefly.

No --preset is added: an unconfigured project gets migrated mypy/Pyright config or Pyrefly's basic preset, as with a local pyrefly check. The e2e passes --preset default where it needs real type errors. Please confirm this default.

Nested projects are excluded with --project-excludes, skipped when the project sets its own project-excludes. Known limits (in the README): excludes via extends, --config or mypy migration are not detected; nested dirs with [ ] * ? in the name are not excluded; required-version file order differs from Pyrefly's.

Ran on a v1.0.0-beta.20 engine: pyrefly-check, nested-exclude-check, tool-pin-check, ty-check pass. Not run here: the full suite, type-check-config-check (it uses the setsKey helper changed in patch 1), uv-workspace-check, cwd-selection-check, type-check-collection-check. There is no CI for checks.

Explanation: https://gistpreview.github.io/?8f9b186c0b2c462ddd04554f1778981d

Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant